package com.ruoyi.domain.basic;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 车间信息表对象 mes_workshop
 *
 * @author ruoyi
 * @date 2025-01-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MesWorkshop extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 车间ID */
    private Long workshopId;

    /** 车间编码 */
    @Excel(name = "车间编码")
    private String workshopCode;

    /** 车间名称 */
    @Excel(name = "车间名称")
    private String workshopName;

    /** 面积(平方米) */
    @Excel(name = "面积(平方米)")
    private BigDecimal area;

    /** 负责人 */
    @Excel(name = "负责人")
    private String chargePerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;
}